Update ManagedWinRTComponentCanBeReferenced test to Windows SDK 10.0.26100.0#52134
Merged
dsplaisted merged 2 commits intomainfrom Dec 11, 2025
Merged
Update ManagedWinRTComponentCanBeReferenced test to Windows SDK 10.0.26100.0#52134dsplaisted merged 2 commits intomainfrom
dsplaisted merged 2 commits intomainfrom
Conversation
…0.0.26100.0 Co-authored-by: dsplaisted <145043+dsplaisted@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix skipped test for ManagedWinRTComponent reference
Update ManagedWinRTComponentCanBeReferenced test to Windows SDK 10.0.26100.0
Dec 11, 2025
dsplaisted
approved these changes
Dec 11, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the ManagedWinRTComponentCanBeReferenced test that was failing in CI due to missing Platform.xml for Windows SDK 10.0.19041.0. The test is updated to use Windows SDK 10.0.26100.0, which is available on CI infrastructure and already in use in other test files.
Key Changes:
- Updated Windows SDK version from 10.0.19041.0 to 10.0.26100.0 for both
TargetFrameworksandCsWinRTWindowsMetadataproperties - Removed obsolete
WindowsSdkPackageVersionproperty that was marked as temporary
joeloff
approved these changes
Dec 11, 2025
Member
|
/backport to 10.0.2xx |
Contributor
|
Started backporting to |
Contributor
|
@dsplaisted an error occurred while backporting to |
Member
|
/backport to release/10.0.2xx |
Contributor
|
Started backporting to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
ManagedWinRTComponentCanBeReferencedtest was failing in CI due to missing Platform.xml for Windows SDK 10.0.19041.0.Changes
TargetFrameworksfromwindows10.0.19041.0towindows10.0.26100.0CsWinRTWindowsMetadataproperty to match the new SDK versionWindowsSdkPackageVersionproperty (no longer needed)The newer SDK version should be available on CI infrastructure, allowing the test to pass.
Original prompt
This section details on the original issue you should resolve
<issue_title>Skipped test: Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAWindowsRuntimeComponent.ManagedWinRTComponentCanBeReferenced</issue_title>
<issue_description>Related: #51935
Related: #51934
Summary
This test was failing in the
release/10.0.1xxandmainbranch for:Error Log